<template>
    <div class="mobileLogin">
        <div class="login-dialog">
            <div class="login-img">
                <img src="../../assets/login-titile.png"/>
            </div>

            <div>
                <span>账号：</span>
                <input v-model="user.phone"/>
            </div>
            <div>
                <span>密码：</span>
                <input type="password" autocomplete="new-password" v-model="user.pwd" @keyup.enter="loginFn()"/>
            </div>
            <div class="modify-data">
                <router-link to="mobileRegister"><span class="orange">注册</span></router-link>
            </div>
            <div class="btn">
                <button @click="loginFn()">登录</button>
            </div>
        </div>
    </div>
</template>

<script src="./mobileLogin.js"></script>

<style scoped lang="less">
    @import "mobileLogin.less";
</style>
